package com.alpha.eceasy.mall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;

/**
 * @author medical archetype
 * <p>
 * 项目启动类
 */
@EnableMethodSecurity(prePostEnabled = true)
@MapperScan("com.alpha.eceasy.mall.mapper")
@SpringBootApplication(scanBasePackages = "com.alpha.eceasy")
public class ECMSMallApp {
    public static void main(String[] args) {
        SpringApplication.run(ECMSMallApp.class, args);
		System.out.println("--------------启动成功---------------");
    }
}
